package com.choosefine.springboot.devops.activityImg.dto;

import org.hibernate.validator.constraints.NotBlank;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by dzq on 2017/1/7 0007.
 */
public class InsertActivityImgDTO {
    /**
     * 活动id
     */
    @NotNull
    private Integer activityId ;
    private Date createTime=new Date();
    /**
     * 状态：1有效，2失效
     */
    private Byte status=1;

    @NotNull
    private MultipartFile[] roncooFile;

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public MultipartFile[] getRoncooFile() {
        return roncooFile;
    }

    public void setRoncooFile(MultipartFile[] roncooFile) {
        this.roncooFile = roncooFile;
    }
}
